/*
 * @Description:
 * @Author: Zzt
 * @Date: 2022-08-17 15:04:24
 * @LastEditTime: 2022-08-17 17:05:03
 */
import { SET_SELECTED_ITEM } from '../constants';
export const BackupListReducer = (state, action) => {
  switch (action.type) {
    /**
     * @description: 删除表格选中的条目id
     * @param {number[]} data
     */
    case SET_SELECTED_ITEM:
      console.log(action);
      return { ...state, delId: action.data };
    default:
      console.log('untouched', action);
      return state;
  }
};
